<?php

include_once 'smarty/Smarty.class.php';

define("SMARTY_TPL","./templates/");
define("SMARTY_TPL_COMPILE",SMARTY_TPL."compile/");
define("SMARTY_TPL_CONFIG",SMARTY_TPL."config/");
define("SMARTY_TPL_CACHE",SMARTY_TPL."cache/");

$smarty->template_dir = SMARTY_TPL;
$smarty->compile_dir  = SMARTY_TPL_COMPILE;
$smarty->config_dir   = SMARTY_TPL_CONFIG;
$smarty->cache_dir    = SMARTY_TPL_CACHE;

$tpl = new Smarty();
?>